<template>
	<view class="content">
		<image class="logo" src="/static/logo.png"></image>
		<view class="text-area">
			<text class="title">{{title}}</text>
		</view>
		<u-button type="primary" text="确定"></u-button>
		<u-button type="primary" :plain="true" text="镂空"></u-button>
		<u-button type="primary" :plain="true" :hairline="true" text="细边"></u-button>
		<u-button type="primary" :disabled="disabled" text="禁用"></u-button>
		<u-button type="primary" loading loadingText="加载中"></u-button>
		<u--text type="primary" text="主色"></u--text>
		<u--text type="error"   text="错误"></u--text>
		<u--text type="success" text="成功"></u--text>
		<u--text type="warning" text="警告"></u--text>
		<u--text type="info"    text="信息"></u--text>
	</view>
</template>

<script>
import {
	banner
} from '@/api/banner.js'
export default {
	data () {
		return {
			
		}
	},
	onLoad() {
		banner().then(res => {
			console.log(res)
		})
	}
}
</script>

<style>
	.content {
		display: flex;
		flex-direction: column;
		align-items: center;
		justify-content: center;
	}

	.logo {
		height: 200rpx;
		width: 200rpx;
		margin-top: 200rpx;
		margin-left: auto;
		margin-right: auto;
		margin-bottom: 50rpx;
	}

	.text-area {
		display: flex;
		justify-content: center;
	}

	.title {
		font-size: 36rpx;
		color: #8f8f94;
	}
</style>
